home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 3: CDPD 3
/
Almathera Ten on Ten - Disc 3: CDPD3.iso
/
scope
/
151-175
/
scopedisk165
/
cliscreen
/
cliscreen.doc
< prev
next >
Wrap
Text File
|
1995-03-19
|
2KB
|
46 lines
This is a very very simple program that just opens a one-bitplane
screen to run your CLIs on. This is useful for folks who are
using WorkBench 2.0 and have a 8- or 16-color WorkBench screen, but
hate the scrolling and update speed when they use the CLI or Shell.
It is easily solved by opening another screen and telling Intuition
that it is a WorkBench type screen. Then when you pop open a CLI or
other WorkBench application, if this screen is in front of the "real"
WorkBench, the CLI or application will open on it.
The default screen used is 640 X 400 with white text on a black
background. However, you may force it to be any size you so desire
by specifying the following parameters on the command line:
-w# Width desired.
-h# Height desired.
-b# Background color, specified as three hex digits. (RGB)
-t# Text color, specified as three hex digits. (RGB)
These parameters may appear in any order, and are not case
sensitive. So, if, for example, you wanted a medium resolution screen
with yellow text on a blue background, you would enter
cliscreen -w640 -h200 -b00F -tFF0
All screen sizes are supported, except the new screen modes in
WorkBench 2.0 (productivity, super-hires, etc.) (working on it).
This program will run fine from 1.2 or 1.3, as well as 2.0.
This program will automatically detach itself from the CLI it
was run from, so there's no need for runback or any of that. Then
when you want a shell on it, pop a shell up with the CLIScreen screen
in front. When you're done, close the small window that says "Close
to Exit", and it will close it all up, provided there are no other
windows open on it, in which case it will just flash the screen at you.
This program is hereby declared as public domain. Do whatever
you want with it. (This also applies to the source code.)
Enjoy.
-- Robert Kesterson